import request from '../utils/request';
// 请求联系人列表
export const chatGet = query => {
  return request.post('/zsrencai/ws/chat/list', query)
}


// 联系人请求
export const listMessage = query => {
  return request.post('/zsrencai/ws/chat/list/message', query)
}

// 联系人请求
export const chatIdReceiverUserId = query => {
  return request.get(`/zsrencai/ws/chat/update/message/status/${query.chatId}/${query.receiverUserId}`, query)
}

// 查询简历详情
export const getjobIddetail = query => {
  return request.get(`/zsrencai/api/company/resume/get/detail/${query.resumeId}/${query.jobId}`, query)
}

// (投递简历)修改企业可以查看个人简历联系方式
export const wordsList = query => {
  return request.get(`/zsrencai/api/company/company-common-words/list`)
}

// 简历投递
export const insertresumeDeliver = query => {
  return request.post(`/zsrencai/ws/chat/insert/resume/deliver`, query)
}

// 不合适
export const updateresumeDeliver = query => {
  return request.post(`/zsrencai/ws/chat/update/resume/deliver`, query)
}

